import express from "express";
import ExpressRouter from "./router";

const PORT = 3000;
const app = express();

app.use('/', express.static('static'))
new ExpressRouter(app).init("./src/controllers");

app.listen(PORT, () => {
    console.log("server is running on " + PORT);
});
